<table border="1">
<tr><td>ID</td><td>Име</td><td>Емайл</td><td>Телефон</td><td>Град</td></tr>
<?php
include("conf.php");
include("class_pagination.php");
$rpp = 10;
$sql = "SELECT count(id) as `allz` FROM test";
$pagination = new pagination($rpp,$sql);
$pagination->page($_GET['page']);
$query = mysql_query("SELECT * from test LIMIT ".$pagination->limit().",".$pagination->rpp."");
while($d = mysql_fetch_assoc($query)) {
   echo '<tr><td>'.$d['id'].'</td><td>'.$d['name'].'</td><td>'.$d['email'].'</td><td>'.$d['phone'].'</td><td>'.$d['city'].'</td></tr>';
}
?>
</table>
<?php echo $pagination->showPages(); ?>